import type {Id,  PageQuery} from "@/type/data";
import {SysRoleMenuData} from "@/services/system/role/menu/type";

export interface SysRoleData extends Id {

  roleName: string,

  status: boolean,


  roleMenuList: SysRoleMenuData[],

  color: string


}

export interface SysRoleParams extends Id, PageQuery {

  roleName?: string,

  status?: boolean,


}

export interface SysRoleAdd extends Id {

  roleName: string,

  status: boolean,

  menuIds: number[],
  color: string

}


export interface SysRoleDetail extends Id {

  roleName: string,

  status: boolean,
  color: string


}



